from django.urls import path

from mgr import customer, medicine, order
from mgr import sign_in_out

# 踩坑，urlpartterns列表内部未用逗号','隔开
urlpatterns = [
    path('customers', customer.dispatcher),
    path('medicines', medicine.dispatcher),
    path('orders', order.dispatcher),
    # 添加登录路由
    path('signin', sign_in_out.signin),
    path('signout', sign_in_out.signout),
]